//
//  ViewController.m
//  SpringbackBubble
//
//  Created by TOPTEAM on 2016/11/23.
//  Copyright © 2016年 TOPTEAM. All rights reserved.
//

#import "ViewController.h"
#import "BubbleView.h"
#define SCREEN_WIDTH   [UIScreen mainScreen].bounds.size.width
#define SCREEN_HEIGHT  [UIScreen mainScreen].bounds.size.height
@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    BubbleView *bubble = [[BubbleView alloc]initWithBeginPoint:CGPointMake(25, SCREEN_HEIGHT - 100) superView:self.view];
    bubble.viscosity  = 30;
    bubble.bubbleWidth = 80;
    bubble.bubbleColor = [UIColor colorWithRed:0 green:0.722 blue:1 alpha:1];

}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end



































